#if !defined(AFX_AWTSCROLLBARPEER_H__94538E11_A008_11D2_A446_006097A44215__INCLUDED_)
#define AFX_AWTSCROLLBARPEER_H__94538E11_A008_11D2_A446_006097A44215__INCLUDED_

#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000
// AWTScrollbarPeer.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// AWTScrollbarPeer window

class AWTScrollbarPeer : public CScrollBar
{
DECLARE_DYNAMIC(AWTScrollbarPeer)
// Construction
public:
	AWTScrollbarPeer(AWTComponent* comp);

// Attributes
public:

// Operations
public:

	void setLineIncrement(int n)
		{m_lineIncrement = n;}
	void setPageIncrement(int n)
		{m_pageIncrement = n;}
	void setValues(int value, int visibleAmount, int minimum, int maximum);

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(AWTScrollbarPeer)
	//}}AFX_VIRTUAL

// Implementation
public:
	virtual ~AWTScrollbarPeer();

	// Generated message map functions
protected:
	//{{AFX_MSG(AWTScrollbarPeer)
	afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
	afx_msg void HScroll(UINT nSBCode, UINT nPos);
	afx_msg void VScroll(UINT nSBCode, UINT nPos);
	//}}AFX_MSG

	DECLARE_MESSAGE_MAP()

	AWTComponent* m_comp;
	CWnd* m_AWTWindow;

	int m_lineIncrement;
	int m_pageIncrement;
	int m_value;
	int m_min;
	int m_max;
	int m_visibleAmount;
};

/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// Microsoft Developer Studio will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_AWTSCROLLBARPEER_H__94538E11_A008_11D2_A446_006097A44215__INCLUDED_)
